package com.guodi.map.vo;

import com.guodi.common.utils.PageData;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

@ApiModel("ztree树")
@Data
public class ZTreeNodeVO implements Serializable {
    private static final long serialVersionUID = -8995432190410965350L;
    @ApiModelProperty("节点id")
    private String id;
    @ApiModelProperty("节点名称")
    private String name;
    @ApiModelProperty("父节点id")
    private String pId;
    @ApiModelProperty("自定义节点图标路径")
    private String icon;
    @ApiModelProperty("自定义节点图标ClassName")
    private String iconSkin;
    @ApiModelProperty("节点链接url")
    private String url;
    @ApiModelProperty("是否为父节点true/false")
    private boolean isParent = false;
    @ApiModelProperty("节点展开true/折叠false")
    private boolean open = false;
    @ApiModelProperty("节点checkBox/radio的勾选状态")
    private boolean checked = false;
    @ApiModelProperty("自定义数据集map")
    private PageData pd = new PageData();
    @ApiModelProperty("排序")
    private Integer sort;
    @ApiModelProperty("组织ID")
    private Long orgId;
    private List<ZTreeNodeVO> children = new ArrayList();
}
